home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2979 < prev    next >
Encoding:
Text File  |  1996-08-05  |  734 b   |  21 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: news2.interlog.com!rose!awhite
  3. From: awhite@user.rose.com (A White)
  4. Subject: Re: Variable > string ?
  5. Sender: news@rose.com (news)
  6. Organization: Rose Media Incorpoarted, Ontario, Canada
  7. Message-ID: <DMF188.K5n@rose.com>
  8. References: <4evded$p1j@nntp.novia.net>
  9. Date: Wed, 7 Feb 1996 17:14:30 GMT
  10.  
  11. In article <4evded$p1j@nntp.novia.net>,
  12. Tony Syslo <tsyslo@oasis.novia.net> wrote:
  13. > time, but now, I am wondering, how can I take a variable (say y=123456789) and
  14. > get the last two characters, ie, 89... Is it some sort of str___() command?
  15. > Also, how could I take the FIRST two characters, ie 12... ?? Thanx for any and
  16.  
  17. Is y an integer?  if so, use y % 100 to get the last two 
  18.  
  19. More Info!
  20.  
  21.